//
//  AppDelegate.m
//  qwm
//
//  Created by kevin on 2023/3/23.
//

#import "AppDelegate.h"
#import "QWMainTabBarController.h"

@interface AppDelegate ()

@end

@implementation AppDelegate


- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
    self.window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds];
    self.window.backgroundColor = UIColor.whiteColor;
    QWMainTabBarController *tabBarVc = [[QWMainTabBarController alloc] init];
//    QWNavgationController *navgationController = [[QWNavgationController alloc] initWithRootViewController:tabBarVc];
    self.window.rootViewController = tabBarVc;
    [self.window makeKeyAndVisible];
    
    
    
    return YES;
}

#pragma mark- 进入前台
- (void)applicationDidBecomeActive:(UIApplication *)application {
    if ([AppProfile GetUserInfo]) {//每次返回前台获取用户信息
        AppProfile.qaUserInfo =[AppProfile GetUserInfo];
    }
}


@end
